package com.hnucm.house.contract;

import com.hnucm.house.bean.NewHouseData;

import java.util.List;

import io.reactivex.Observable;

public class NewHouseCon {
    public interface INewHouseModel{
        Observable<List<NewHouseData.DataDTO>> loadNewHouse();
        Observable<List<NewHouseData.DataDTO>> refreshNewHouse();
    }
    public interface INewHouseView{
        void onLoadNewHouse(List<NewHouseData.DataDTO> dataDTOS);
        void onRefreshNewHouse(List<NewHouseData.DataDTO> dataDTOS);
    }
    public interface INewHousePresenter{
        void loadNewHouse();
        void refreshNewHouse();
    }

}
